import request from '../api/request'
// 注册
export const zhuceApi = (data) => request.post('/api/register', data)
// 密码登录
export const mimaApi = (data) => request.post('/api/login', data)
// 轮播图
export const lunbiApi = () => request.get('/api/swiper')
// 定位名称
export const dingweiApi = (key) => request.get('/api/city/location', { params: { key } })
// 城市列表
export const chengshiApi = () => request.get('/api/city')
// 搜索城市
export const sousuoApi=(kw)=>request.get('/api/city/search',{params:{kw}})
// 车票
export const chepiaoApi = () => request.get('/api/actor/hot')
// 详情页
export const xiangqingApi = (id) => request.get(`/api/actor/detail/${id}`)
// 